package org.myOrg.spetrum.spectrumStruct;

import java.util.HashSet;

import org.myOrg.spetrum.combination.Tuple;
import org.myOrg.spetrum.testObject.TestCase;
import org.myOrg.spetrum.testObject.TestSuite;



/**
 * @author XinTao Niu
 *
 */
@Deprecated
public interface SpectrumAnalyse {
	  final public int MAXDEGREE = 6;
      public abstract boolean isTupleAnalysed(Tuple tuple);
      public abstract boolean isTupleAppearInRightTestCases(Tuple tuple);
      public abstract boolean isTupleHasKownedBugModel(Tuple tuple);
      public abstract boolean isTupleRightOrWrong(Tuple tuple);
      public abstract boolean isTupleTheBugModel(Tuple tuple);
      
      public abstract TestCase generateOneRightTestCase();
      
      public abstract void setTupleRightOrWrong(Tuple tuple , boolean rightOrWrong);
      public abstract void setTupleBugModel(Tuple tuple);
      
      public abstract void clear();
      
      public abstract void run();
      /**
       * 
       * @param tuple
       * @return  the tuple is wrong or not
       */
      public abstract boolean analyseTuple(Tuple tuple);
      
      public abstract TestSuite getGenerateTestCases();
      public abstract HashSet<Tuple> getBugModel();
      
      
}
              
